package com.tangcco.lockwell.repository;

import com.tangcco.lockwell.domain.AnswerSheet;

import java.util.List;

public interface AnswerSheetMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AnswerSheet record);

    int insertSelective(AnswerSheet record);

    AnswerSheet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AnswerSheet record);

    int updateByPrimaryKey(AnswerSheet record);

    List<AnswerSheet> selectList(AnswerSheet answerSheet);

    int selectQuestionCompleted(int userId,String time);

    Long selectTotalTime(int userId,String time);
}